package entity;

import java.util.Date;

public class LabAvailableTime {
    private int timeId;
    private int labId;
    private Date startTime;
    private Date endTime;

    // 构造方法
    public LabAvailableTime() {}

    public LabAvailableTime(int timeId, int labId, Date startTime, Date endTime) {
        this.timeId = timeId;
        this.labId = labId;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    // getter和setter
    public int getTimeId() { return timeId; }
    public void setTimeId(int timeId) { this.timeId = timeId; }
    public int getLabId() { return labId; }
    public void setLabId(int labId) { this.labId = labId; }
    public Date getStartTime() { return startTime; }
    public void setStartTime(Date startTime) { this.startTime = startTime; }
    public Date getEndTime() { return endTime; }
    public void setEndTime(Date endTime) { this.endTime = endTime; }
}